package cn.usian.dao;

import cn.usian.entity.Dish;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

public interface DishDao extends BaseMapper<Dish> {


    @Update("update dish set status=0 where id = #{id}")
    void updat(String id);

    @Update("update dish set status=1 where id = #{id}")
    void upda(String id);

}
